
{% extends "root/_incs/lay_root.htm" %}

{% block title %}<title>Mysql新闻资料 - {{ g.sys['title']}}</title>{% endblock %}

{% block head %}
    <h1>Mysql新闻资料 - 微爬(Wepy)</h1>
    <p>演示-从控制器调用Mysql新闻资料,模板显示</p>
{% endblock %}

{% block main %}

<div class="out">

<div class="in">
    <h2><span class="tg1">news</span>Mysql新闻资料</h2>
    <div>
    {% for itm in d.data.news %}
    <p>
        {% for field in itm %}    
        [{{ field }}] = {{ itm[field] }} <br>
        {% endfor %}
    </p>
    {% endfor %}
    </div>
</div>

</div><!--end.out-->

{% endblock %}
